package com.zlf.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName FeignProducerService
 * @Description TODO
 * @Author zlf
 * @Date 2021/5/17 9:08
 */
@FeignClient(value = "FeignAndHystrixProducer", fallback = FeignProducerServiceFallback.class)
public interface FeignProducerService {

    @GetMapping("/foo")
    public String demo() throws Exception;

}
